/* 使用图片作为背景 */
body {
    background-image: url('static/pic/维尔汀.jpg'); /* 替换为您图片的路径 */
    background-size: cover;  /* 使背景图片覆盖整个页面 */
    background-position: center; /* 确保背景图片居中 */
    background-attachment: fixed; /* 确保背景图片在滚动时保持固定 */
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh; /* 确保背景图片覆盖整个视口 */
}

/* 其他样式保持不变 */
.container-login {
    width: 100%;
    height: calc(100% - 50px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-dialog {
    width: 350px;
    height: auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* 样式继续优化 */
.login-dialog h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.login-dialog .row {
    width: 100%;
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-dialog .row > input {
    width: 100%;
    height: 45px;
    border-radius: 5px;
    border: 2px solid #ccc;
    outline: none;
    padding-left: 15px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

.login-dialog .row > input:focus {
    border-color: #0093f6;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

#submit {
    width: 100%;
    height: 45px;
    background-color: #0093f6;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

#submit:hover {
    background-color: #0093f6;
    transform: translateY(-2px);
}

#register {
    width: 100%;
    height: 45px;
    background-color: transparent;
    color: #0093f6;
    border: 2px solid #0093f6;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-top: 10px;
}

#register:hover {
    background-color: #0093f6;
    color: white;
    transform: translateY(-2px);
}
